package edu.nf.meituan.service.shop;


import edu.nf.meituan.model.shop.Shop;

import java.util.List;

/**
 * 商家业务接口
 */
public interface ShopService {

    /**
     * 用户入驻商家
     * @param typeId
     * @param uId
     * @param shopName
     * @param shopPhone
     * @param shopAddress
     * @param key 验证码
     * @return
     */
    int registerShop(int typeId,int uId,String shopName,String shopPhone,String shopAddress,String key);

    /**
     * 通过名称查找全部店铺
     * @param shopName
     * @return
     */
    List<Shop> listShopByShopName(String shopName);
}
